import requests

dict1 = {
    'name':'pei'
}
res = requests.post('http://127.0.0.1:5001/login',json=dict1)
# s = res.json()
s = res.text
print(s)
